package com.nashuju.web.service.sys;

import java.util.ArrayList;
import java.util.List;

import org.durcframework.core.service.CrudService;
import org.springframework.stereotype.Service;

import com.nashuju.web.dao.sys.SysUploadDao;
import com.nashuju.web.entity.sys.SysUpload;

@Service
public class SysUploadService extends CrudService<SysUpload, SysUploadDao> {

    public ArrayList<SysUpload> findUpload(String pic) {
        String[] arrPicList = pic.split(",");
        List<String> listPic = java.util.Arrays.asList(arrPicList);
        return this.getDao().findUpload(listPic);
    }

}
